mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
parent
30c77b9e64
commit
04c7d5c128
@ -48,7 +48,7 @@ def async_register_http(hass, cfg):
|
|||||||
entity_config.get(entity.entity_id, {}).get(CONF_EXPOSE)
|
entity_config.get(entity.entity_id, {}).get(CONF_EXPOSE)
|
||||||
|
|
||||||
domain_exposed_by_default = \
|
domain_exposed_by_default = \
|
||||||
expose_by_default or entity.domain in exposed_domains
|
expose_by_default and entity.domain in exposed_domains
|
||||||
|
|
||||||
# Expose an entity if the entity's domain is exposed by default and
|
# Expose an entity if the entity's domain is exposed by default and
|
||||||
# the configuration doesn't explicitly exclude it from being
|
# the configuration doesn't explicitly exclude it from being
|
||||||
|
Loading…
x
Reference in New Issue
Block a user