Class ShellyDataSource


@Entity public class ShellyDataSource extends MqttDataSource
  • Constructor Details

    • ShellyDataSource

      protected ShellyDataSource()
    • ShellyDataSource

      public ShellyDataSource(ShellyDataSourceDto dto, UUID userId)
  • Method Details

    • createAccessControlEntry

      protected void createAccessControlEntry()
      Description copied from class: MqttDataSource
      This method creates the Access Control Entry for a MQTT data source using the ID of the data source. This is the default behaviour of a MQTT data source.
      Overrides:
      createAccessControlEntry in class MqttDataSource
    • topicFormattedForUi

      protected String topicFormattedForUi()
      Description copied from class: MqttDataSource
      This method formats the topic to correctly display it to the user in the UI. This topic can then be copied by the user without making any changes to it.
      Overrides:
      topicFormattedForUi in class MqttDataSource
      Returns:
      The topic formatted for the UI