File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,6 @@ class EntityInfo(TypedDict):
199199 """Entity info."""
200200
201201 domain : str
202- custom_component : bool
203202 config_entry : NotRequired [str ]
204203
205204
@@ -1450,10 +1449,8 @@ async def async_internal_added_to_hass(self) -> None:
14501449
14511450 Not to be extended by integrations.
14521451 """
1453- is_custom_component = "custom_components" in type (self ).__module__
14541452 entity_info : EntityInfo = {
14551453 "domain" : self .platform .platform_name ,
1456- "custom_component" : is_custom_component ,
14571454 }
14581455 if self .platform .config_entry :
14591456 entity_info ["config_entry" ] = self .platform .config_entry .entry_id
Original file line number Diff line number Diff line change @@ -827,12 +827,10 @@ async def test_setup_source(hass: HomeAssistant) -> None:
827827
828828 assert entity .entity_sources (hass ) == {
829829 "test_domain.platform_config_source" : {
830- "custom_component" : False ,
831830 "domain" : "test_platform" ,
832831 },
833832 "test_domain.config_entry_source" : {
834833 "config_entry" : platform .config_entry .entry_id ,
835- "custom_component" : False ,
836834 "domain" : "test_platform" ,
837835 },
838836 }
You can’t perform that action at this time.
0 commit comments