mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-21 20:07:27 +00:00

* Fix config card rtl issues * Remove optional field from ha-form schema type (#11538) * Add entity id autocompletion to YAML code editors (#11099) * Add selectors to ha-form (#11534) * Allow translate gas total (#11547) * Migrate combobox to mwc (#11546) * New date picker (#11555) * Link via device on device page (#11554) Co-authored-by: Zack Barett <arnett.zackary@gmail.com> * Add integration_discovery to discovery sources (#11564) * Remember filter between navigation (#11565) * Convert selectors to MWC (#11543) * Covert area picker to combo-box (#11562) * Convert entity picker to ha-combo (#11560) * Convert entity picker to ha-combo * Update ha-entity-picker.ts * Handle empty better * Clear value when no device/area/entity * Update links on info page (#11590) * Migrate (input) select entities to mwc (#11591) * Convert HaFormSchemas to use selectors (#11589) * Fix number selector (#11585) * Convert entity-attribute picker to ha-combo-box (#11587) * Convert icon picker to ha-combobox (#11586) Co-authored-by: Zack <zackbarett@hey.com> * Convert area-devices picker (#11588) * Convert device automation picker to mwc (#11592) Co-authored-by: Zack <zackbarett@hey.com> * Fix clearing device in device action (#11594) * dark mode fixes (#11595) * Only show stable add-ons in the store if not advanced mode (#11596) * Convert Automation Action Choose to HA Form (#11597) * Convert Auatomation Action Choose to HA Form * remove log * Remove Import * Replace checkboxes in list items with `check-list-item` (#11610) Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Make textarea grow on input (#11618) * Update lit-virtualizer (#11623) * Convert time inputs to Lit + mwc (#11609) * Set initial focus for device, area, and entity dialogs (#11622) * Add aria-label to table headers with no title (#11503) * Add loadCardHelpers to cast scope (#11616) * Update code editor to material 3 look (#11628) * Set button role on button card and handle enter and space (#11627) * Only load ha-selector when needed (#11630) * Fix service control for older browsers (#11629) * Migrate a bunch of paper-dropdowns (#11626) * Merged too fast for Bram :) Code improv (#11632) * Add support for opening camera media source (#11633) Co-authored-by: Zack Barett <zackbarett@hey.com> * Create error when trying to backup wile system in freeze (#11634) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Add missing type to create device automation/script heading (#11635) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Generate random webhook_id and add copy button (#11568) Co-authored-by: Bram Kragten <mail@bramkragten.nl> Co-authored-by: Zack Barett <zackbarett@hey.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Migrate search bar to mwc (#11637) * fix data-table row handlers (#11638) * Bunch of fixes and cleanup (#11636) * State Trigger -> HA Form (#11631) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Allow uploading media (#11615) * Allow uploading media * Update path * Use current item we already have * Update src/panels/media-browser/ha-panel-media-browser.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Use alert dialog and use button for add media Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Add Attribute Picker as a selector - add to state trigger (#11641) Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Time Pattern to HA Form (#11648) * MQTT Trigger to Ha-Form (#11643) Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Convert Sun to Ha Form (#11647) Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Geo Location Trigger to HA - Form (#11644) Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * HA Trigger to HA Form (#11645) Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Make HA Form set required to false for selectors (#11649) * Fix Lovelace Empty Menu when not advanced or admin (#11660) * Add support for media player assumed state (#11642) * Improve search and filters on mobile + fix close button in search field (#11662) Co-authored-by: Zack <zackbarett@hey.com> * Allow adding Zigbee/Zwave device (#11650) * Numerical State to HA-Form (#11646) Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Filter fixes (#11664) * Add WORKSPACE_DIRECTORY environment variable to devcontainer and script.core (#11477) Co-authored-by: Joakim Sørensen <hi@ludeeus.dev> * hotfix history view on missing state (#11663) Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Improve robustness of hls media player (#11672) * Revert compute state display show empty string as unknown (#11677) * Set initial focus for some more dialogs (#11676) * Limit types of media that can be uploaded to local media (#11683) * Don't show toggle always on more info (#11640) * Add TTS to media browser (#11679) * Omit Device info and actions for connected controller nodes (#11673) * Script Editor to Ha Form (#11601) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Another round of paper-dropdown -> mwc-select conversion (#11674) * Another round of paper-dropdown -> mwc-select conversion * ha-pick-language-row -> Lit * Update hui-view-editor.ts * Cleanup imports * hassio * Add explicit imports * hassio fixes (#11688) * Dont exclude domain for area and device (#11689) * Try to keep the browsing stack when changing players in media panel (#11681) * Allow uploading multiple files (#11687) * Bumped version to 20220214.0 * Group helpers not in an area in a single card (#11690) * Improve `stripPrefixFromEntityName` to handle colon and space separator (#11691) * Display transmitted messages in MQTT debug info dialog (#11531) * Latest paper-dropdown -> mwc-select conversion (#11692) * This adds back mobile click accessibility (#11693) * Updated text part 2 (#11686) Co-authored-by: Zack Barett <zackbarett@hey.com> * Set initial focus for lovelace dialogs (#11667) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Migrate all lovelace elements to mwc (#11695) Co-authored-by: Zack Barett <zackbarett@hey.com> * Fix import * Clean up some imports (#11696) * Convert triple dots to single char in translations (#11697) * Fixes remote icon state color (#11698) * Convert scene action to service call (#11705) * Convert scene action to service call * fix describeAction * rename to metadata * Update script.ts * Fix mode selection in automation editor (#11707) * Remove duplicate gallery page (#11711) * Add bottom padding to config links list with safe-area-inset-bottom (#11704) * Bump hls.js to v1.1.5 (#11712) * Make zwave_js config panel inclusion state aware (#11556) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Fix mwc-select in lovelace editors (#11708) * Add signed add-on capability and adjust max rating (#11703) * Add support for removing config entry from a device * Tweak * Fix lint error * Tweak * Prettier * Add play media action (#11702) Co-authored-by: Zack Barett <zackbarett@hey.com> Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Debounce refresh the cloud status if Google events happen (#11721) * Remove custom MQTT delete device button (#11724) * Apply suggestions from code review Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Update src/panels/config/devices/ha-config-device-page.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Correct typing * Prettier * Remove useless Array.isArray check * Remove custom Tasmota delete device button (#11725) * Automation Conditions to conversion to ha-form or mwc (#11727) * Set initial focus for energy dialogs (#11730) * Entity Settings Page to MWC 3 (#11694) * Show why relayer is reconnecting (#11732) * Change words for trigger condition (#11733) * Update media player more info (#11734) * Pass hass to ha-form to enable selectors (#11739) * Bumped version to 20220220.0 * Add link to the selector docs * TTS form no longer showed due to import oopsie (#11742) * Improve logo rendering for playing media in browser (#11741) * Fix media upload on iOS (#11740) * Handle inifinity media duration (#11749) * Show when media is being loaded (#11750) * Lovelace Entity Card Editor to Ha Form - Adds Theme Selector and HaFormColumn (#11731) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Set initial focus for supervisor dialogs (#11710) * Convert Automation Actions to mwc/ha-form + other automation items (#11753) * Selector: remove text value when not required and empty (#11754) * Convert date-range-picker to mwc (#11755) * Radio Browser is now added during onboarding (#11756) * Add support for the media browser My link (#11757) * Show Home Assistant when creating partial backup (#11758) * Fix zwave migration (#11751) * Allow config entries to be reloaded when they are in setup_retry state (#11759) * Area Card Editor to Ha Form (#11762) * Fix WebRTC player stream playback when disconnected/connected (#11764) * set theme to undefined when no theme (#11765) * Paper input migrations (#11766) * Only show description when set (#11772) * Thermostat Editor to HA - Form (#11763) * Thermostat - Ha Form * Update hui-thermostat-card-editor.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Alarm Card Editor to HA Form (#11760) * Move to ha-form * Update hui-alarm-panel-card-editor.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Change icons for cover with device_class curtain (#11752) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * no need for memoize * Include scoped custom element polyfill (#11776) * Show triggered in automation editor (#11771) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Allow changing volume media player entity (#11781) Co-authored-by: Zack Barett <zackbarett@hey.com> * Add community section (#11779) * Bumped version to 20220222.0 * Fix State Condition 'For' Data (#11782) * entities card editor to MWC (#11785) * Fix ripple corner radius for button card (#11780) * Condition Card Editor to MWC (#11783) * Show number of hidden items (#11786) * Put volume slider in the middle of the button (#11788) * Add media management dialog (#11787) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Convert alarm control panel more info (#11791) * Convert alarm control panel more info * Update more-info-alarm_control_panel.ts * Update src/dialogs/more-info/controls/more-info-alarm_control_panel.ts * Apply suggestions from code review Co-authored-by: Zack Barett <zackbarett@hey.com> * import Co-authored-by: Zack Barett <zackbarett@hey.com> * Migrate more-info configurator (#11792) * Migrate more-info configurator * Update more-info-configurator.ts * Update src/dialogs/more-info/controls/more-info-configurator.ts * Update src/dialogs/more-info/controls/more-info-configurator.ts Co-authored-by: Zack Barett <zackbarett@hey.com> * Import Co-authored-by: Zack Barett <zackbarett@hey.com> * Convert more info lock (#11794) * Add Margin to Tip (#11790) Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Dont render double label on number selector (#11796) * Input conversion in dev tools (#11795) * Gauge Editor to Ha Form (#11793) * Stop spinning when opening media in dialog (#11800) * Fix Entities picker (#11802) * Migrate single textfields (#11799) * Migrate single textfields * Update ha-config-name-form.ts * Update dialog-area-registry-detail.ts * Update manual-automation-editor.ts * Update manual-automation-editor.ts * required to number selector fix script * review * change repository url and project description (#11801) * Calendar card to HA Form (#11784) * Graph Footer to MWC (#11803) * History Graph Editor to ha form (#11797) * Glance editor to ha-form (#11804) * Grid Card to HA Form (#11798) * Button editor to ha-form (#11808) * Bumped version to 20220223.0 * mwc-select -> ha-select (#11806) Co-authored-by: Yosi Levy <yosilevy@gmail.com> Co-authored-by: Paulus Schoutsen <balloob@gmail.com> Co-authored-by: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Co-authored-by: Kuba Wolanin <hi@kubawolanin.com> Co-authored-by: Franck Nijhof <git@frenck.dev> Co-authored-by: Zack Barett <arnett.zackary@gmail.com> Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: Zack <zackbarett@hey.com> Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev> Co-authored-by: Steve Repsher <steverep@users.noreply.github.com> Co-authored-by: Patrick ZAJDA <patrick@zajda.fr> Co-authored-by: Thomas Lovén <thomasloven@gmail.com> Co-authored-by: Eric Severance <esev@esev.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> Co-authored-by: Shay Levy <levyshay1@gmail.com> Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com> Co-authored-by: Joakim Sørensen <hi@ludeeus.dev> Co-authored-by: lintaba <lintaba@gmail.com> Co-authored-by: Allen Porter <allen@thebends.org> Co-authored-by: kpine <keith.pine@gmail.com> Co-authored-by: Brandon Rothweiler <brandonrothweiler@gmail.com> Co-authored-by: Erik Montnemery <erik@montnemery.com> Co-authored-by: Matthias de Baat <matthias.debaat@nabucasa.com> Co-authored-by: Philip Allgaier <mail@spacegaier.de> Co-authored-by: Josh McCarty <josh@joshmccarty.com> Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com> Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com> Co-authored-by: Pascal Winters <pascal@famwinters.com> Co-authored-by: Robin Wittebol <robinwittebol@live.nl> Co-authored-by: Tomasz <t.jagusz@gmail.com>
Home Assistant Frontend
This is the repository for the official Home Assistant frontend.
Development
- Initial setup:
script/setup
- Development: Instructions
- Production build:
script/build_frontend
- Gallery:
cd gallery && script/develop_gallery
- Supervisor: Instructions
Frontend development
Classic environment
A complete guide can be found at the following link. It describes a short guide for the build of project.
License
Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.
We use BrowserStack to test Home Assistant on a large variety of devices.
Description
Languages
TypeScript
98.5%
JavaScript
1.4%