When trying to understand the source tree using `git grep` the fact
that the critical function which actually creates the more-info-
panels used MORE-INFO, makes it actually hard to find. Rework the
logic so that it's all managed in lower case for greater
discoverability of hunting through code.
Because the stateMoreInfoType comes from home-assistant domains, this
should always be lower case, so no explicit lower casing is needed.
This replaces the climate paper-slider with a new control which is a
numerical display plus up/down buttons. The paper-slider control
really needs a fine pointer like a mouse or a stylus to function well,
and in my use case the most often time I want to quick manually adjust
the temperature is on a mobile device, where using the paper-slider is
extremely problematic.
The stepsize is now computed based on the units. 0.5 for C, 1.0 for F,
which provides about the same granularity for both.
The ha-climate-control widget is actually pretty generic, and could be
used in other places if anyone has suggestions on a good generic name.
* Support multi-day history charts
* Fix lint
* Reduce the periods to 1/3/7 days.
* Switch to end_time param instead of days
* Move async waiting from history-data to panel-history
* Set different id for each weather card
* Style fixes
* Changed id interpolation
* Use same function both for generating and finding chart id
* Fix line too long
* Allow using custom state cards from www/
* Use importHref
* Check if element loaded before loading it again dynamically.
* load custom_ui according to data provided at bootstrap via Nuclear
* Switch card custom UI to using local www path.
* Switch custom UI to use /local/ path
* Show attribute in more-info of light and lock.
* Use <ha-attributes> in weather card
* Inline functions from hass-util
Inline functions from hass-util now that ha-attributes is the only user.
* Inline functions from hass-util
* Weathrer's FILTER_KEYS is no longer needed.
* Cache csv split
* Add a more info card for fan and make the fan icon spin
* Add direction support to fan more info
* Fix ESLint errors
* Fix ESLint errors
* Remove spinning fan icon :(
* Added weather platform card, with forecast graph
* Changed login page to a form, allowing autofill
* Reverted incorrect login form commit
* Moved to a seperate weather card, instead of using a state-card, added basic current information
* Some cleanup, set graph line to be smooth
* Removed some unnecessary stuff
* Removed leftover space
* Remove camera's streaming source from camera's 'more info' when more-info is closed.
* Rename to isVisible
* Rename to isVisible
* Split dynamicContentUpdater
Split dynamicContentUpdater into two functions intended for 'normal' flow and 'hide' flow.
* Use hassUtil.resetDynamicContent
* Fix lint
* Fix lint
* Move isVisible to more-info-content
* Move isVisible to more-info-content
* Typo
* Avoid modifying the original state
* Put isVisible in the right place
* Inline resetDynamicContent
* Inline resetDynamicContent
* Fix lint
* Always show the brightness slider in more-info
Always show the brightness slider in more-info if it is supported.
Even when the light is currently off.
* Lint fix
* Set brightness to 0 when light is off
* Take navigator.languages into account when determining the preferred language
* Lookup language only once, use it also for other date/time functions
* Show the date picker value in localized date
* Show the date picker value in localized date (in history)