Skip to content

Commit

Permalink
Add entity_id to states panel
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHolyRoger committed May 4, 2022
1 parent 552c474 commit 4c6bbc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/panels/developer-tools/state/developer-tools-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ class HaPanelDevState extends EventsMixin(LocalizeMixin(PolymerElement)) {
on-change="stateChanged"
class="state-input"
></ha-textfield>
<p>
[[localize('ui.panel.developer-tools.tabs.states.entity_id')]]
</p>
<pre class="rendered">[[_entityId]]</pre>
<p>
[[localize('ui.panel.developer-tools.tabs.states.state_attributes')]]
</p>
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4122,6 +4122,7 @@
"description1": "Set the current state representation of an entity within Home Assistant.",
"description2": "If the entity belongs to a device, there will be no actual communication with that device.",
"entity": "Entity",
"entity_id": "Entity ID",
"state": "State",
"attributes": "Attributes",
"state_attributes": "State attributes (YAML, optional)",
Expand Down

0 comments on commit 4c6bbc7

Please sign in to comment.