Skip to content

Add MJ / GJ energy units to to Developer Docs#1631

Closed
Roving-Ronin wants to merge 1 commit into
home-assistant:masterfrom
Roving-Ronin:patch-1
Closed

Add MJ / GJ energy units to to Developer Docs#1631
Roving-Ronin wants to merge 1 commit into
home-assistant:masterfrom
Roving-Ronin:patch-1

Conversation

@Roving-Ronin
Copy link
Copy Markdown

Update SensorDeviceClass.Energy to include the fact that gigajoules (GJ) has already been added as unit of measurement for energy. Additionally add megajoules (MJ) as a unit of measurement for energy, in line with pull request home-assistant/core#86055 that is requesting this 'new feature' change.

Proposed change

Type of change

  • Document existing features within Home Assistant
  • Document new or changing features which there is an existing pull request elsewhere
  • Spelling or grammatical corrections, or rewording for improved clarity
  • Changes to the backend of this documentation
  • Removed stale or deprecated documentation

Additional information

  • This PR fixes or closes issue: fixes #
  • Link to relevant existing code or pull request:

Update SensorDeviceClass.Energy to include the fact that gigajoules (GJ) has already been added as unit of measurement for energy.
Additionally add megajoules (MJ) as a unit of measurement for energy, in line with pull request home-assistant/core#86055 that is requesting this 'new feature' change.
@Roving-Ronin Roving-Ronin changed the title SensorDeviceClass.Energy - Units of Measurement Add MJ / GJ energy units to to Developer Docs Jan 17, 2023
@SgtBatten SgtBatten mentioned this pull request Jan 20, 2023
5 tasks
@frenck
Copy link
Copy Markdown
Member

frenck commented Jan 25, 2023

Duplicate #1639

@frenck frenck closed this Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants