* feature : display input number next to slider
* Improvements for Box mode of input number
Add unit when available and align the value to the right
* fix for small width cards
hide state if slider width<100px
* add a space between if and (
* Fix value display after a window resize
State value is now hiding or showing correctly after a window resize, using iron-resize component
* fixes eslint validator
* Fix a typo in state-card
* Improvement : Apply all properties altogether
As suggered by @andrey-git, I made use of setProperties
* Watch for mode update of input_number
If a mode is updated and the box switches from "box" to "slider", it now also update the visibility of the state value depending on the slider width
* Update width showing state value
* Use ResizeObserver when available
* Fix conditionnal mistake
Related @andrey-git review here https://github.com/home-assistant/home-assistant-polymer/pull/808#pullrequestreview-90048982
* Always show locationName in Title
* Handle if no name set
* Fix lint
* Feedback
* Readd L66-L68
* Feedback and fix for default_view
* Fix c&p
* Change default name for default_view to "Default view"
* Make everyone happy
* Make everyone happy2
* Fix CP
* Handle no homeassistant.name in config
* Correct triggering temperature when min is reached and user clicks extra #761
* Fixed build problems from lint
* Fixed as per feedback from @c727
* Updated based on PR feedback from @andrey-git
* Improved defect based on better solution from @andrey-git
* Updated vars to const based on feedback
* Updated control to support better changing values regardless of step based on feedback
* Use current date for input_datetime time rendering
Chrome has a bug where it fails to render times correctly using
toLocaleTimeString for certain dates in the past with non-normal
daylight saving rules. For the UK and New Zealand, this includes
1970-01-01. Instead of using this as the date when rendering the time
for a time only input_datetime, use the current date.
* Add comment
* Lint
* Fixing #236
* Fixed build errors
* Updated PR based on feedback from @andrey-git
* Improved side by side style for dual temperature control
* Removed unused styling
* Removed code that is no longer needed after correction from feedback
* Updated based on feedback on discord
* Corrected errors from lint and refactored more vars to const
Fixed lint