stationtaya.blogg.se

Manually add opensprinkler
Manually add opensprinkler










manually add opensprinkler
  1. #Manually add opensprinkler manual
  2. #Manually add opensprinkler code
manually add opensprinkler

#Manually add opensprinkler code

I only have so much time to play around with the design, and welcome any contribution, whether code or Figma link or pencil sketch, to make the card more accessible, consistent, prettier, or whatever you strive for. You may find other details like the duration input and extra_entities to appear like goblin heads grafted onto puppies. You may find some details, such as loading icons, the run-once program entry, and the layout of the card in its default configuration to be tastefully designed. You can still access entity details by clicking on the station icon (yup, that's not very obvious.

  • You can hide the 3 vertical dots that appear to the right of station controls using hide_dots, which should further remove some sources of accidents.
  • Popup_line_height: small # Spacing between entities (sensors, stations, programs) listed in the popup timer_line_height: medium # Spacing between progress bars (running stations) in the card card_line_height: small # Spacing between extra_entities (entities in the card) The slider or box input will appear in the popup, and if you are using the extra_entities option, in the card as well. To extend the length they run for, make an input_number entity then link it to the card via the input_number option. Stations also default to a runtime of 1 minute. You can also add programs or even any entity type ( switches, lights, etc). If you'd like to have a few stations controls always accessible from the dashboard, you can add them to the bottom of the card with the extra_entities option.
  • The id of the rain delay stop time sensor ends with _rain_delay_stop_timeīy default, the only way to control stations is to first click on the 3 dots in the top-right corner of the card.
  • The id of the rain delay active binary sensor ends with _rain_delay_active.
  • The ids of program & station enabled switches end with _enabled.
  • The id of the OpenSprinkler controller enabled switch ends with _enabled.
  • manually add opensprinkler

    The ids of program running binary sensors end with _running.The ids of station status sensors end with _status.If you haven't changed these, you have nothing to worry about. This card locates your OpenSprinkler entities by using their entity ids. You can also set popup_line_height, timer_line_height, and card_line_height to control the spacing of entities. See the default config for an example.įinding device ids is tricky, so I recommend using the dropdown in the visual card editor to set device rather than YAML. If true, hide disabled stations and programs in the popup If true, hide the 3 dots appearing next to entities Options Nameĭevice id of the OpenSprinkler in Home AssistantĬonfiguration for run-duration-choosing entity

    #Manually add opensprinkler manual

    If you don't have HACS installed, follow the manual installation instructions. OpenSprinkler Card is available from HACS (search for "opensprinkler card"). You will need the OpenSprinkler integration installed. OpenSprinkler status into a card for Home Assistant. Originally: def _setattr_(self, name, value): The actual problem had been omitted from the example and was that I had chosen to override the setattr method without allowing parent to be set. Any idea what's going on here?Īs Alec pointed out, the code example actually does work. The output confirm that the constructor for the member was called: > c = openSprinkler.OpenSprinkler('foo','bar')īut when I look at the members, cv.parent does not appear to exist: > dir(c.cv)Ĭv.my_args contains the extended list. Self.my_args.extend(self.my_longhand.keys())ĭef _init_(self, hostname, password, log=None): I have a constructor which creates a member object of a sub-class: class OpenSprinkler:












    Manually add opensprinkler