OctoPrint-HomeAssistant
                                
                                 OctoPrint-HomeAssistant copied to clipboard
                                
                                    OctoPrint-HomeAssistant copied to clipboard
                            
                            
                            
                        Add ability to disable/enable the added switches/buttons
In addition to adding HomeAssistant discovery to the base MQTT plugin's sensors it also adds some buttons/switches/actions. https://github.com/cmroche/OctoPrint-HomeAssistant/blob/de9529c0deb54ade0ecad3ec4aa660c5364e007c/octoprint_homeassistant/init.py#L659-L727 It would be nice if like the base MQTT plugin you can disable/enable topics.
EDIT: I didnt know links to code would show the code inline so formatted better knowing that.