* entity-filter: add ability to filter through entity_id value
* review: test filter value against undefined
Co-authored-by: karwosts <32912880+karwosts@users.noreply.github.com>
* review: better handle state values that could be mixed with an entity_id
* Add multiple filter/condition types
* Fix automation's NumericStateCondition above/below types
* Replace operator condition by state for string or number
* Move to condition: type & attr
* Remove enable attr
* fix condition state array
* Remove necessary undefined check
* Move to condition: use same codebase as conditionnal card
* Fix entities error 'read properties of undefined' + conditions first
* Fix lint
* Merge condition to set the entity to filter on
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* review: make numeric_state below & above working together again, with entity_id support
* shorthand getValueFromEntityId
* review: states are string
* Split legacy state filter and condition logic
* Fix types
* Fix type
* Update gallery doc
* Fix operator in while numaric array
* Rename condition card header in gallery
* Don't use real gas station name
* Update gallery
* Update card is entity in condition change
* Don't check for entity id in state condition
* Improve check
* Update condition card demo
* Revert "Don't check for entity id in state condition"
This reverts commit f5e6a65a37.
* Use set instead of list
* Update demo
---------
Co-authored-by: karwosts <32912880+karwosts@users.noreply.github.com>
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* Fix issues with state_color as false
* Remove format from glance timestamp
* Restore type assertion hack and remove conditional
* Revert "removal of glance timestamp format and adjust types to make it work
* Revert to minimal change just to pass false state_color
* Detail view for energy devices graph
* Use getCommonOptions
* Remove visibility toggle on horizontal bar chart
* make a new card
* unneeded translations
* graph titles
* Update src/translations/en.json
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
---------
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* Add Y axis limit options for historical charts
* Fir formatting according to linter
* Revert statistic graph changes
* Cleanup local tests leftover
* Show fit Y fit option only if limits are set
* Fix unit position when no decimal
* Add option to switch between current and target for thermostat card
* Refactor code
* Clean label code
* Rename config name
* Add new design for thermostat card
* Add feature to thermostat card
* Fix margin
* Add current
* use big number component
* Add current
* Fix translations
* Add theme and name options
* Reduce margin on small card
* Fix types
* Add hvac mode to default dashboard
* Don't put feature full size
* Full width for features
* Improve design on small screen
* Add support for state content customization
* Add reorder option
* Do not display null attributes
* Always return a value
* Add hide state option
* Add missing attribute unit
* Fix sortable create and destroy
* ha-config-area-page: Add alt tag for area-picture
* dialog-tag-detail: Add alt tag for generated QR code image.
* ha-config-hardware: Blank alt tag for hardware pic, info already elsewhere
* dialog-energy-solar-settings: Blank alt tag for brand icon.
* ha-energy-grid-settings: Blank alt tag for co2signal brand icon.
* Add a few more appropriately-blank alt texts.
* ha-config-device-page: Logo alt text set to name of device domain.
* ha-config-repairs: Logo alt text set to name of issue domain.
* hui-picture-card(-editor): Alternate Text via config (blank default)
* hui-picture-entity-card(-editor): Alternate Text via config (blank default)
* ha-long-lived-access-token-dialog: Alt text for QR code.
* hui-picture-header-footer: Support alt text via optional property.
* A few more blank alt attributes.
* ha-tile-image: Support alt tag (but it is blank in current usage).
* prod cla-bot
* Lint. Fix whitespace.
* Add missing alt text properties to TS types.
* Fix my silly typo in picture-entity-card-editor's SCHEMA (+ minor reformat)
* Add alt_text to Picture(Entity)CardConfig TypeScript types.
* Format with prettier.
* Revise alt text for tag QR
* Revise alt text for token QR
* Revise alternate to alternative
* Add alt to logo in gallery
* Add alt text to crop image
* Use ifDefined for tile image alt
* Change area picture alt to area name
* Remove entry from entities config struct
* Revert altText changes for Picture Entity Card (to revisit in future PR)
See:
https://github.com/home-assistant/frontend/pull/14405#discussion_r1032735871
* Revert changes to hui-image and picture entity editor
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>