Rename CO2Signal to Electricity Maps (#96252)
* Changes names and links * Changes link to documentation * Updates generated integration namepull/96475/head^2
parent
7859be6481
commit
025ed3868d
homeassistant
components/co2signal
generated
|
@ -3,4 +3,4 @@
|
|||
|
||||
DOMAIN = "co2signal"
|
||||
CONF_COUNTRY_CODE = "country_code"
|
||||
ATTRIBUTION = "Data provided by CO2signal"
|
||||
ATTRIBUTION = "Data provided by Electricity Maps"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"domain": "co2signal",
|
||||
"name": "CO2 Signal",
|
||||
"name": "Electricity Maps",
|
||||
"codeowners": [],
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/co2signal",
|
||||
"documentation": "https://www.home-assistant.io/integrations/electricity_maps",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["CO2Signal"],
|
||||
"requirements": ["CO2Signal==0.4.2"]
|
||||
|
|
|
@ -75,11 +75,11 @@ class CO2Sensor(CoordinatorEntity[CO2SignalCoordinator], SensorEntity):
|
|||
"country_code": coordinator.data["countryCode"],
|
||||
}
|
||||
self._attr_device_info = DeviceInfo(
|
||||
configuration_url="https://www.electricitymap.org/",
|
||||
configuration_url="https://www.electricitymaps.com/",
|
||||
entry_type=DeviceEntryType.SERVICE,
|
||||
identifiers={(DOMAIN, coordinator.entry_id)},
|
||||
manufacturer="Tmrow.com",
|
||||
name="CO2 signal",
|
||||
manufacturer="Electricity Maps",
|
||||
name="Electricity Maps",
|
||||
)
|
||||
self._attr_unique_id = (
|
||||
f"{coordinator.entry_id}_{description.unique_id or description.key}"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"location": "Get data for",
|
||||
"api_key": "[%key:common::config_flow::data::access_token%]"
|
||||
},
|
||||
"description": "Visit https://co2signal.com/ to request a token."
|
||||
"description": "Visit https://electricitymaps.com/free-tier to request a token."
|
||||
},
|
||||
"coordinates": {
|
||||
"data": {
|
||||
|
|
|
@ -846,7 +846,7 @@
|
|||
"iot_class": "local_polling"
|
||||
},
|
||||
"co2signal": {
|
||||
"name": "CO2 Signal",
|
||||
"name": "Electricity Maps",
|
||||
"integration_type": "hub",
|
||||
"config_flow": true,
|
||||
"iot_class": "cloud_polling"
|
||||
|
|
Loading…
Reference in New Issue